package org.mozhu.mboot.backend.system.account.service;

import org.mozhu.mboot.backend.system.account.entity.User;
import org.mozhu.mboot.common.data.IBaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 用户 - 业务层接口
 *
 * @author mozhu
 */
public interface UserService extends IBaseService<User, Long>{

    User findByLoginName(String loginName);

    boolean isValidPassword(User user, String plainPassword);
}
